﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginControl.ascx.cs" Inherits="SPCFMedicineInformer.UserControls.LoginControl" %>
    <table>
        <tr>
            <td class="pageHeadings" colspan="3"><umbraco:Item ID="aa" field="menuTitle" runat="server" /></td>
        </tr>
        <tr>
            <td align="left" valign="top" colspan="3"></td>
        </tr>
	    <tr>
            <td align="left" width="333" valign="top">
                <span class="link3">
                    <umbraco:Item ID="Item1" field="content" runat="server" />
                </span>
            </td>
            <td align="left" width="60" valign="top"></td>
            <td align="left" width="386" valign="top">
                <fieldset>
                    <asp:Literal ID="MsgLiteral" runat="server" Visible="true"></asp:Literal>
                      <asp:Login ID="MemberLogin" runat="server"
                        onauthenticate="MemberLogin_Authenticate">
                        <LayoutTemplate>
                            <p>
                                Login to make a consultation and view your consultation history.
                                New user? <a href="/account/register" style="color:#FFA303;">Sign up</a> now.
                            </p>
                            
                            <ol style="list-style-type:none;">
                                <li>
                                    <label for="username">Username<em>*</em></label>
                                    <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                    ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                    ToolTip="User Name is required." ValidationGroup="ctl00$MemberLogin">*</asp:RequiredFieldValidator>
                                </li>
                                <li>
                                    <label for="password">Password<em>*</em></label>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                    ControlToValidate="Password" ErrorMessage="Password is required." 
                                    ToolTip="Password is required." ValidationGroup="ctl00$MemberLogin">*</asp:RequiredFieldValidator>
                                    
                                </li>
                                <li class="noLink">

                                    <asp:Button ID="LoginButton" runat="server" Text="Login" CssClass="form_btns123" ValidationGroup="ctl00$MemberLogin" CommandName="Login"/>
                                    
                                </li>
                            </ol>
                      </LayoutTemplate>
                    </asp:Login>
				</fieldset>	
            </td>
        </tr>
 
				
		

    </table>
